package heliotrope.mvc
{
	import flash.errors.IllegalOperationError;

	public class Mediator
	{
		protected var _model:Model;
		protected var _view:View;
		protected var _controller:Controller;
		public function Mediator()
		{
			initModel();
			initController();
			initView();
		}
		protected function initModel():void
		{
			throw new IllegalOperationError("Please override the function for use");
		}
		protected function initView():void
		{
			throw new IllegalOperationError("Please override the function for use");
		}
		protected function initController():void
		{
			throw new IllegalOperationError("Please override the function for use");
		}
	}
}